package com.iotproject.studyservice.service;

import com.iotproject.studyservice.entity.vo.CollectionWord;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.Map;

public interface TranslateService {
    Map<String, String> sentenceTranslation(String from, String to, String content) throws IOException;
    Map<String, Object> wordDictionary(String word) throws IOException;
    void insertCollectionWordByWD(CollectionWord collectionWord, HttpServletRequest httpServletRequest);
    void insertUnrememberWordByWD(CollectionWord collectionWord, HttpServletRequest httpServletRequest);
}
